/*
 * Iterator.h
 *
 *  Created on: 2012-5-17
 *      Author: esf
 */

#ifndef ITERATOR_H_
#define ITERATOR_H_

namespace collection {
template <class E>
class Iterator {
public:
	virtual bool hasNext()=0;
	virtual E next()=0;
	virtual void remove()=0;
	virtual ~Iterator()=0;
};

} /* namespace collection */
#endif /* ITERATOR_H_ */
